<%-- 
    Document   : i18n
    Created on : 2014/8/18, 下午 04:03:57
    Author     : gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib  prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:setLocale value="${param.a}" />
<fmt:setBundle basename="data.mes" />
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>
        <fmt:message key="key1" /> <br>
        <a href="i18n.jsp?a=ja_JP">日文</a><br>
        <a href="i18n.jsp?a=zh_TW">中文</a><br>
        <a href="i18n.jsp?a=en_US">英文</a><br>
        <a href="i18n.jsp?a=ko_KR">韓文</a><br>
    </body>
</html>
